<html>
<head>
<title>SS2PL Transactions</title>
</head>
<body>
	<h1>SS2PL Transactions</h1>
	{%for t in transactions%}
		<b>Operations for transaction {{t.tid}}</b>
		<table border="1">
			<tr>
				<th>Operation Type</th>
				<th>Data Item (relevant only for read and write)</th>
				<th>Data Item Value(relevant only for reads and writes)</th>
				<th>Is Waiting?</th>
			</tr>
		{% for op in t.operations%}
			<tr>
				<td>{{op.optype}}&nbsp;</td>
				<td>{{op.din}}&nbsp;</td>
				<td>{{op.div}}&nbsp;</td>
				<td>{{op.iswaiting}}&nbsp;</td>
			</tr>	
		{% endfor %}
		</table><br /><br />

	
	{% endfor %}
	
</body>
</html>
